﻿using FluorineFx.Json;
using lxwmvc;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
using System.IO;
using System.Text;
using System.Web;

namespace lxwmvc
{
    /// <summary>
    /// 微信支付
    /// </summary>
    public class WeiXin_Pay
    {
        //https://api.mch.weixin.qq.com/pay/unifiedorder

        public string appid { get; set; }
        public string mch_id { get; set; }
        public string device_info = "WEB";
        public string nonce_str { get {
                return WeiXin_Fun.CreateNonceStr(32).ToUpper();
            } }
        public string sign { get; set; }
        public string body { get; set; }
        public string detail { get; set; }
        public string attach { get; set; }
        public string out_trade_no { get; set; }
        public string fee_type { get; set; }

        public string total_fee { get; set; }
        public string spbill_create_ip { get; set; }
        public string time_start { get; set; }
        public string time_expire { get; set; }
        public string goods_tag { get; set; }
        public string notify_url { get; set; }
        public string trade_type { get; set; }

        public string product_id { get; set; }
        public string limit_pay { get; set; }
        public string openid { get; set; }
    }
}